package com.bank.abmock.config;

public abstract class RouteConfig {
    /*
    * 路由配置匹配url
    * */
    String url;
    /*
     * 路由类型，0-json，1-wke
     * */
    int type;

    /*
     * 根据请求报文返回应答
     * */
    public abstract Object process(Object request);


    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
